home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1996 September & October
/
Amiga-CD 1996 #9-10.iso
/
ausgabe_9_96
/
kommunikation
/
voodoo
/
s
/
sendmails
< prev
next >
Wrap
Text File
|
1996-03-13
|
720b
|
29 lines
; Deliver all messages from a queue directory.
; Use "Copy %s to $SMTPSPOOLDIR >NIL:" as the Mailer in Voodoo
; Run this script when you want to have messages delivered
; Script by Domenig Weyerman
List to t:SMTPPostBatTempFile $SMTPSPOOLDIR/#? LFormat="SMTPPost $SMTPSPOOLDIR/%N >NIL:"
Resident AMITCP:bin/SMTPPost PURE
Echo "*N Start mailing..."
Execute t:SMTPPostBatTempFile
Echo "*N End of mailing..."
Delete t:SMTPPostBatTempFile QUIET
Resident SMTPPost REMOVE
RequestChoice >ENV:RCNum " Please advise me" " Hey $USER, *N Shall I delete all Files in SMTPSpoolDir ?" "Yes" "No"
If Val $RCNum EQ 0
Echo "*N*N Well, in this case keep ehm...*N"
quit
Endif
Delete $SMTPSPOOLDIR/#?
;EOF